home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Illustrator 6.0 SDK r1 Mac / AI Plugin Interface / AITextPath.h < prev    next >
Text File  |  1995-12-21  |  2KB  |  90 lines

  1. /**
  2.  
  3.     AITextPath.h
  4.     Copyright (c) 1995 Adobe Systems Incorporated.
  5.     All Rights Reserved
  6.  
  7.     Adobe Illustrator 6.0 Text Path Object Suite.
  8.  
  9.  **/
  10.  
  11. #ifndef __AITextPath__
  12. #define __AITextPath__
  13.  
  14.  
  15. /*******************************************************************************
  16.  **
  17.  **    Imports
  18.  **
  19.  **/
  20.  
  21. #include "AITypes.h"
  22. #include "AIArt.h"
  23. #include "AIFixedMath.h"
  24.  
  25.  
  26. #if Macintosh
  27.     #ifdef __cplusplus
  28.     extern "C" {
  29.     #endif
  30.     
  31.     #if PRAGMA_ALIGN_SUPPORTED
  32.     #pragma options align=mac68k
  33.     #endif
  34.     
  35.     #if PRAGMA_IMPORT_SUPPORTED
  36.     #pragma import on
  37.     #endif
  38. #endif
  39.  
  40.  
  41. /*******************************************************************************
  42.  **
  43.  **    Constants
  44.  **
  45.  **/
  46.  
  47. #define kAITextPathSuite    "AI Text Path Suite"
  48. #define kAITextPathVersion    2
  49.  
  50.  
  51. /*******************************************************************************
  52.  **
  53.  **    Suite
  54.  **
  55.  **/
  56.  
  57. typedef struct {
  58.  
  59.     MACPASCAL FXErr (*GetFirstTextPath) ( AIArtHandle parent, AIArtHandle *first );
  60.     MACPASCAL FXErr (*GetNextTextPath) ( AIArtHandle parent, AIArtHandle child, AIArtHandle *next );
  61.     MACPASCAL FXErr (*InsertTextPath) ( AIArtHandle parent, AIArtHandle child, short paintOrder, AIArtHandle *path );
  62.     MACPASCAL FXErr (*DeleteTextPath) ( AIArtHandle parent, AIArtHandle child, AIArtHandle *path );
  63.     MACPASCAL FXErr (*GetTextPathMatrix) ( AIArtHandle path, FixedMatrix *matrix );
  64.     MACPASCAL FXErr (*SetTextPathMatrix) ( AIArtHandle path, FixedMatrix *matrix );
  65.     MACPASCAL FXErr (*GetTextPathOffset) ( AIArtHandle path, Fixed *offset );
  66.     MACPASCAL FXErr (*SetTextPathOffset) ( AIArtHandle path, Fixed offset );
  67.     MACPASCAL FXErr (*GetTextPathWrapped) ( AIArtHandle path, Boolean *wrapped );
  68.     MACPASCAL FXErr (*SetTextPathWrapped) ( AIArtHandle path, Boolean wrapped );
  69.     MACPASCAL FXErr (*GetTextPathObject) ( AIArtHandle path, AIArtHandle *object );
  70.  
  71. } AITextPathSuite;
  72.  
  73.  
  74. #if Macintosh
  75.     #if PRAGMA_IMPORT_SUPPORTED
  76.     #pragma import off
  77.     #endif
  78.     
  79.     #if PRAGMA_ALIGN_SUPPORTED
  80.     #pragma options align=reset
  81.     #endif
  82.     
  83.     #ifdef __cplusplus
  84.     }
  85.     #endif
  86. #endif
  87.  
  88.  
  89. #endif
  90.